//
//  CameraStatus.h
//  Yanwei
//
//  Created by 言味 on 16/5/17.
//  Copyright © 2016年 DCloud. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

//typedef NS_ENUM(NSInteger, ALAuthorizationStatus) {
//    
//    ALAuthorizationStatusNotDetermined = 0, // User has not yet made a choice with regards to this application
//    
//    ALAuthorizationStatusRestricted, // This application is not authorized to access photo data.
//    
//    // The user cannot change this application’s status, possibly due to active restrictions
//    
//    // such as parental controls being in place.
//    
//    ALAuthorizationStatusDenied, // User has explicitly denied this application access to photos data.
//    
//    ALAuthorizationStatusAuthorized // User has authorized this application to access photos data.
//    
//} __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_6_0);

@interface CameraStatus : NSObject

- (AVAuthorizationStatus)getTheCameraPermissions;

@end
